<?php
/**
 * TOP API: taobao.openmall.item.salearea.get request
 * 
 * @author auto create
 * @since 1.0, 2020.09.27
 */
class ItaokeOpenmallItemSaleareaGetRequest
{
	/** 
	 * 商品ID
	 **/
	private $itemId;
	
	/** 
	 * sku id串，多个sku id用逗号分隔。若商品无sku，sku id为0；若值为空，返回商品所有sku的可售区域。
	 **/
	private $skuIds;
	
	private $apiParas = array();
	
	public function setItemId($itemId)
	{
		$this->itemId = $itemId;
		$this->apiParas["item_id"] = $itemId;
	}

	public function getItemId()
	{
		return $this->itemId;
	}

	public function setSkuIds($skuIds)
	{
		$this->skuIds = $skuIds;
		$this->apiParas["sku_ids"] = $skuIds;
	}

	public function getSkuIds()
	{
		return $this->skuIds;
	}

	public function getApiMethodName()
	{
		return "itaoke.openmall.item.salearea.get";
	}
	
	public function getApiParas()
	{
		return $this->apiParas;
	}
	
	public function check()
	{
		
		RequestCheckUtil::checkNotNull($this->itemId,"itemId");
	}
	
	public function putOtherTextParam($key, $value) {
		$this->apiParas[$key] = $value;
		$this->$key = $value;
	}
}
